package com.demo.starter.entity;

import java.io.Serializable;
import java.util.Date;

public class EstNews implements Serializable {
    private Long id;

    private String pk;

    private String rowkey;

    private String type;

    private String topic;

    private String source;

    private String sourceurl;

    private Date date;

    private Integer ispicnews;

    private Integer miniimgSize;

    private Integer hotnews;

    private Integer picnums;

    private Long urlpv;

    private Long praisecnt;

    private Long tramplecnt;

    private Long countView;

    private Integer miniimg02Size;

    private String mThumb;

    private Date gmtCreate;

    private Date gmtModified;

    private Integer status;

    private String url;

    private String miniimg;

    private String lbimg;

    private String miniimg02;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPk() {
        return pk;
    }

    public void setPk(String pk) {
        this.pk = pk == null ? null : pk.trim();
    }

    public String getRowkey() {
        return rowkey;
    }

    public void setRowkey(String rowkey) {
        this.rowkey = rowkey == null ? null : rowkey.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic == null ? null : topic.trim();
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public String getSourceurl() {
        return sourceurl;
    }

    public void setSourceurl(String sourceurl) {
        this.sourceurl = sourceurl == null ? null : sourceurl.trim();
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getIspicnews() {
        return ispicnews;
    }

    public void setIspicnews(Integer ispicnews) {
        this.ispicnews = ispicnews;
    }

    public Integer getMiniimgSize() {
        return miniimgSize;
    }

    public void setMiniimgSize(Integer miniimgSize) {
        this.miniimgSize = miniimgSize;
    }

    public Integer getHotnews() {
        return hotnews;
    }

    public void setHotnews(Integer hotnews) {
        this.hotnews = hotnews;
    }

    public Integer getPicnums() {
        return picnums;
    }

    public void setPicnums(Integer picnums) {
        this.picnums = picnums;
    }

    public Long getUrlpv() {
        return urlpv;
    }

    public void setUrlpv(Long urlpv) {
        this.urlpv = urlpv;
    }

    public Long getPraisecnt() {
        return praisecnt;
    }

    public void setPraisecnt(Long praisecnt) {
        this.praisecnt = praisecnt;
    }

    public Long getTramplecnt() {
        return tramplecnt;
    }

    public void setTramplecnt(Long tramplecnt) {
        this.tramplecnt = tramplecnt;
    }

    public Long getCountView() {
        return countView;
    }

    public void setCountView(Long countView) {
        this.countView = countView;
    }

    public Integer getMiniimg02Size() {
        return miniimg02Size;
    }

    public void setMiniimg02Size(Integer miniimg02Size) {
        this.miniimg02Size = miniimg02Size;
    }

    public String getmThumb() {
        return mThumb;
    }

    public void setmThumb(String mThumb) {
        this.mThumb = mThumb == null ? null : mThumb.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getMiniimg() {
        return miniimg;
    }

    public void setMiniimg(String miniimg) {
        this.miniimg = miniimg == null ? null : miniimg.trim();
    }

    public String getLbimg() {
        return lbimg;
    }

    public void setLbimg(String lbimg) {
        this.lbimg = lbimg == null ? null : lbimg.trim();
    }

    public String getMiniimg02() {
        return miniimg02;
    }

    public void setMiniimg02(String miniimg02) {
        this.miniimg02 = miniimg02 == null ? null : miniimg02.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", pk=").append(pk);
        sb.append(", rowkey=").append(rowkey);
        sb.append(", type=").append(type);
        sb.append(", topic=").append(topic);
        sb.append(", source=").append(source);
        sb.append(", sourceurl=").append(sourceurl);
        sb.append(", date=").append(date);
        sb.append(", ispicnews=").append(ispicnews);
        sb.append(", miniimgSize=").append(miniimgSize);
        sb.append(", hotnews=").append(hotnews);
        sb.append(", picnums=").append(picnums);
        sb.append(", urlpv=").append(urlpv);
        sb.append(", praisecnt=").append(praisecnt);
        sb.append(", tramplecnt=").append(tramplecnt);
        sb.append(", countView=").append(countView);
        sb.append(", miniimg02Size=").append(miniimg02Size);
        sb.append(", mThumb=").append(mThumb);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", status=").append(status);
        sb.append(", url=").append(url);
        sb.append(", miniimg=").append(miniimg);
        sb.append(", lbimg=").append(lbimg);
        sb.append(", miniimg02=").append(miniimg02);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        EstNews other = (EstNews) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getPk() == null ? other.getPk() == null : this.getPk().equals(other.getPk()))
            && (this.getRowkey() == null ? other.getRowkey() == null : this.getRowkey().equals(other.getRowkey()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getTopic() == null ? other.getTopic() == null : this.getTopic().equals(other.getTopic()))
            && (this.getSource() == null ? other.getSource() == null : this.getSource().equals(other.getSource()))
            && (this.getSourceurl() == null ? other.getSourceurl() == null : this.getSourceurl().equals(other.getSourceurl()))
            && (this.getDate() == null ? other.getDate() == null : this.getDate().equals(other.getDate()))
            && (this.getIspicnews() == null ? other.getIspicnews() == null : this.getIspicnews().equals(other.getIspicnews()))
            && (this.getMiniimgSize() == null ? other.getMiniimgSize() == null : this.getMiniimgSize().equals(other.getMiniimgSize()))
            && (this.getHotnews() == null ? other.getHotnews() == null : this.getHotnews().equals(other.getHotnews()))
            && (this.getPicnums() == null ? other.getPicnums() == null : this.getPicnums().equals(other.getPicnums()))
            && (this.getUrlpv() == null ? other.getUrlpv() == null : this.getUrlpv().equals(other.getUrlpv()))
            && (this.getPraisecnt() == null ? other.getPraisecnt() == null : this.getPraisecnt().equals(other.getPraisecnt()))
            && (this.getTramplecnt() == null ? other.getTramplecnt() == null : this.getTramplecnt().equals(other.getTramplecnt()))
            && (this.getCountView() == null ? other.getCountView() == null : this.getCountView().equals(other.getCountView()))
            && (this.getMiniimg02Size() == null ? other.getMiniimg02Size() == null : this.getMiniimg02Size().equals(other.getMiniimg02Size()))
            && (this.getmThumb() == null ? other.getmThumb() == null : this.getmThumb().equals(other.getmThumb()))
            && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
            && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
            && (this.getMiniimg() == null ? other.getMiniimg() == null : this.getMiniimg().equals(other.getMiniimg()))
            && (this.getLbimg() == null ? other.getLbimg() == null : this.getLbimg().equals(other.getLbimg()))
            && (this.getMiniimg02() == null ? other.getMiniimg02() == null : this.getMiniimg02().equals(other.getMiniimg02()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getPk() == null) ? 0 : getPk().hashCode());
        result = prime * result + ((getRowkey() == null) ? 0 : getRowkey().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getTopic() == null) ? 0 : getTopic().hashCode());
        result = prime * result + ((getSource() == null) ? 0 : getSource().hashCode());
        result = prime * result + ((getSourceurl() == null) ? 0 : getSourceurl().hashCode());
        result = prime * result + ((getDate() == null) ? 0 : getDate().hashCode());
        result = prime * result + ((getIspicnews() == null) ? 0 : getIspicnews().hashCode());
        result = prime * result + ((getMiniimgSize() == null) ? 0 : getMiniimgSize().hashCode());
        result = prime * result + ((getHotnews() == null) ? 0 : getHotnews().hashCode());
        result = prime * result + ((getPicnums() == null) ? 0 : getPicnums().hashCode());
        result = prime * result + ((getUrlpv() == null) ? 0 : getUrlpv().hashCode());
        result = prime * result + ((getPraisecnt() == null) ? 0 : getPraisecnt().hashCode());
        result = prime * result + ((getTramplecnt() == null) ? 0 : getTramplecnt().hashCode());
        result = prime * result + ((getCountView() == null) ? 0 : getCountView().hashCode());
        result = prime * result + ((getMiniimg02Size() == null) ? 0 : getMiniimg02Size().hashCode());
        result = prime * result + ((getmThumb() == null) ? 0 : getmThumb().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
        result = prime * result + ((getMiniimg() == null) ? 0 : getMiniimg().hashCode());
        result = prime * result + ((getLbimg() == null) ? 0 : getLbimg().hashCode());
        result = prime * result + ((getMiniimg02() == null) ? 0 : getMiniimg02().hashCode());
        return result;
    }
}